<?php

/**
 * Subclass for performing query and update operations on the 'languages' table.
 *
 * 
 *
 * @package lib.model
 */ 
class LanguagesPeer extends BaseLanguagesPeer
{
	public static function getCodesInArray()
	{
	    $c = new Criteria();
	    $c->addSelectColumn(LanguagesPeer::CODE);
	    $res = LanguagesPeer::doSelectRS($c);
	    $tab = array();
	    while($res->next())
	    {
	      array_push($tab, $res->getString(1));
	    }
	    
	    return $tab;
	}
}
